package com.example.loginstructuredemo.login;

import com.example.loginstructuredemo.base.BasePresenterImpl;
import com.example.loginstructuredemo.base.IBaseView;
import com.example.loginstructuredemo.model.LoginBus;

/**
 * Created by Alex on 2016/10/21.
 */

public class LoginActionPresenter extends BasePresenterImpl {

	private LoginBus loginBus;

	public LoginActionPresenter(IBaseView iBaseView) {
		super(iBaseView);
		loginBus = new LoginBus();
	}

	public void login(String phone,String password,int requestTag) {
		beforeRequest(requestTag);
		loginBus.login(phone,password,this,requestTag);
	}
}
